OPC Studio User's Guide and Reference
UAWriteValueObserver<TValue> Constructor(EasyUAClientSelector,IAliasProvider,UAAttributeArguments)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Reactive Namespace > UAWriteValueObserver<TValue> Class > UAWriteValueObserver<TValue> Constructor : UAWriteValueObserver<TValue> Constructor(EasyUAClientSelector,IAliasProvider,UAAttributeArguments)
The selector of the client object that is used for OPC Unified Architecture operations.

The value of this parameter cannot be null (Nothing in Visual Basic).

The alias provider to be used for resolving aliases by this reactive object.

The value of this parameter cannot be null (Nothing in Visual Basic).

Holds all arguments needed to specify a node together with its attribute in an OPC-UA server.

The value of this parameter cannot be null (Nothing in Visual Basic).

Create a new instance of the observer that writes values into an OPC node given by OpcLabs.EasyOpc.UA.OperationModel.UAAttributeArguments object.
Syntax
'Declaration
 
Public Function New( _
   ByVal clientSelector As EasyUAClientSelector, _
   ByVal aliasProvider As IAliasProvider, _
   ByVal attributeArguments As UAAttributeArguments _
)
'Usage
 
Dim clientSelector As EasyUAClientSelector
Dim aliasProvider As IAliasProvider
Dim attributeArguments As UAAttributeArguments
 
Dim instance As New UAWriteValueObserver(Of TValue)(clientSelector, aliasProvider, attributeArguments)

Parameters

clientSelector
The selector of the client object that is used for OPC Unified Architecture operations.

The value of this parameter cannot be null (Nothing in Visual Basic).

aliasProvider
The alias provider to be used for resolving aliases by this reactive object.

The value of this parameter cannot be null (Nothing in Visual Basic).

attributeArguments
Holds all arguments needed to specify a node together with its attribute in an OPC-UA server.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also